package me.minecraft.plugin.pokemonconverter.config;

import lg.minecraft.plugin.library.config.LGBaseConfig;
import lombok.Getter;
import me.minecraft.plugin.pokemonconverter.PokemonItemConverter;

/**
 * @author langle__
 * @version 1.0
 */
@Getter
public class MainConfig extends LGBaseConfig {

    public static final MainConfig INSTANCE = new MainConfig();

    private boolean lgPokemonMenu;
    private boolean cobblemonInfo;
    private boolean yuCobblemonBasis;

    public MainConfig() {
        super(PokemonItemConverter.instance, "config");
        saveDefault();
    }

    @Override
    public void load() {
        super.load();
        lgPokemonMenu = getBoolean("LGPokemonMenu");
        cobblemonInfo = getBoolean("CobblemonInfo");
        yuCobblemonBasis = getBoolean("YuCobblemonBasis");
    }

}
